package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author stylefeng
 * @since 2020-03-26
 */
@TableName("paymethod")
public class Paymethod extends Model<Paymethod> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "item_id", type = IdType.AUTO)
    private Integer itemId;
    @TableField("payment_name")
    private String paymentName;
    private Integer platform;
    private Integer status;
    private String icon;
    @TableField("english_name")
    private String englishName;
    @TableField("taiwan_name")
    private String taiwanName;
    @TableField("payment_id")
    private Integer paymentId;


    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public String getPaymentName() {
        return paymentName;
    }

    public void setPaymentName(String paymentName) {
        this.paymentName = paymentName;
    }

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getEnglishName() {
        return englishName;
    }

    public void setEnglishName(String englishName) {
        this.englishName = englishName;
    }

    public String getTaiwanName() {
        return taiwanName;
    }

    public void setTaiwanName(String taiwanName) {
        this.taiwanName = taiwanName;
    }

    public Integer getPaymentId() {
        return paymentId;
    }

    public void setPaymentId(Integer paymentId) {
        this.paymentId = paymentId;
    }

    @Override
    protected Serializable pkVal() {
        return this.itemId;
    }

    @Override
    public String toString() {
        return "Paymethod{" +
        "itemId=" + itemId +
        ", paymentName=" + paymentName +
        ", platform=" + platform +
        ", status=" + status +
        ", icon=" + icon +
        ", englishName=" + englishName +
        ", taiwanName=" + taiwanName +
        ", paymentId=" + paymentId +
        "}";
    }
}
